import fly from '../utils/request'
/**
 * 通过两个地址，获取距离
 **/
export function getDistanceByCoord(data = {}) {
  return fly.request('api/third/get/distance', data, {
    method: 'GET'
  })
}
export function getFormattedAddress(data = {}) {
  return fly.request('api/third/get/formatted/address', data, {
    method: 'GET'
  })
}
export function getWeatherInfo(data = {}) {
  return fly.request('/api/third/get/weatherInfo', data, {
    method: 'get'
  })
}

